package com.dm.cloud.auth.controller.defalut;

import com.dm.cloud.tkmybatis.service.BaseEntityService;
import com.dm.cloud.tkmybatis.service.EntityBaseController;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.dm.cloud.auth.common.po.VAuthUser;
import com.dm.cloud.auth.common.dto.VAuthUserDTO;
import com.dm.cloud.auth.common.request.VAuthUserSearchRequest;
import com.dm.cloud.auth.service.VAuthUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
   * @author hcx
   * @type VAuthUserController.java
   * @desc null VAuthUser controller
   */
@RestController
@RequestMapping("/apis/v1/vAuthUser")
@Tag(name =  "null  VAuthUsercontroller")

public class VAuthUserController extends EntityBaseController<VAuthUserSearchRequest, VAuthUser, VAuthUserDTO> {


    @Autowired
    private VAuthUserService vAuthUserService;
    @Override
    public VAuthUser getEntity() {
        return new VAuthUser();
    }

    @Override
    public VAuthUserDTO getDTO() {
        return new VAuthUserDTO();
    }
    @Override
    public BaseEntityService<VAuthUserSearchRequest, VAuthUser> getService() {
        return vAuthUserService;
    }


}
